#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>
#include "QtMaintimer.h"
#include "QtStra1.h"
#include "QtStra2.h"
#include "QtStra3.h"




class MainWindow : public QMainWindow
{
    Q_OBJECT
    
public:
    explicit MainWindow(QWidget *parent = 0);
    ~MainWindow();

private:

	void CreateStrategyDock();

	void CreateInstDock();

	void CreateStrategysTab();

	void AppInit();

	void AppDestroy();

private slots:

	void	TabChanged (int index);

	void ProcessTimer();

private:
	
	//elements in InstrumentDock
	QDockWidget* m_instDock;

	//bar Dock
	QDockWidget* m_strategyDock;
	
	//Central Widget, each tab is a qtab
	QTabWidget* m_pStrategyTabs;


	QtMainTimer* m_timer;

private:

	QtStra1* m_qtstra1;
	QtStra2* m_qtstra2;
	QtStra3* m_qtstra3;

};




#endif // MAINWINDOW_H
